package com.lichongbing.lyoggl.exception;

import lombok.Data;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2022/4/1 2:32 下午
 * @description: AppleID校验过程异常
 */
@Data
public class SignInWithAppleException extends BizException {

    public SignInWithAppleException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public SignInWithAppleException(ResponseCodeEnum codeEnum) {
        this.code = codeEnum.getCode();
        this.msg = codeEnum.getMsg();
    }


}
